package org.example.dao;

import org.example.pojo.Plan;

import java.util.List;

public interface PlanDao {
    List<Plan> queryAll();
    List<Plan> queryByCondition(Plan plan);

    Boolean insert(Plan plan);
    Boolean delete(int account);
    Boolean update(Plan plan);

    Boolean addCourse(Plan plan);
    Boolean removeCourse(Plan plan);
}
